/**
 * Project Name:smcs-mass-dns-ipcheck
 * File Name:IpAllocateType.java
 * Package Name:com.surfilter.massdata.ipcheck.util
 * Date:2015-3-10上午09:40:35
 * Copyright (c) 2015, Shenzhen Surfilter Network Technology Co.,Ltd All Rights Reserved.
 * 
*/

package com.surfilter.massdata.spark.util.ipcheck;
/**
 * ClassName:IpAllocateType <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:   TODO ADD REASON. <br/>
 * Date:     2015-3-10 上午09:40:35 <br/>
 * @author   sunkai
 * @version  
 * @since    JDK 1.7
 * @see      
 */
public enum IpAllocateType {

	ALLOCATE_AND_USE(1l),
	RE_ALLOCATE(2l),
	USE_BY_SELF(3l),
	RESERVE(4l),
	HOLDING_BY_SELF(5l);
	
	private Long value;
	
	public Long getTypeValue(){
		return this.getValue();
	}
	
	
	private IpAllocateType(Long value) {
		this.setValue(value);
	}

	public void setValue(Long value) {
		this.value = value;
	}

	public Long getValue() {
		return value;
	}
	
}
